package com.yuanzong.wuliu.model.business.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yuanzong.wuliu.model.base.BaseModel;
import java.io.Serializable;

@ApiModel(value = "BusinessCustomerDaijiaxianDetails", description = "业务 - 客户 - 代价险详情")
@TableName(value ="business_customer_daijiaxian_details")
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
public class BusinessCustomerDaijiaxianDetails extends BaseModel implements Serializable {

    private static final long serialVersionUID = 21L;

    @ApiModelProperty(value = "ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "代价险ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableField(value = "daijiaxian_id")
    private Long daijiaxianId;

    @ApiModelProperty(value = "板块名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "内容类型 1文本 2图片")
    @TableField(value = "content_type")
    private Integer contentType;

    @ApiModelProperty(value = "内容")
    @TableField(value = "content")
    private String content;

    @ApiModelProperty(value = "排序号")
    @TableField(value = "`sort`")
    private Integer sort;

}
